package com.woniuxuexi03;


public class Test02 {
    public static void main(String[] args) {
        String str1 = "abcdefg";
        String str2 = new StringBuilder(str1).reverse().toString();
        System.out.println(str2);
}
}
